<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>v-pre</title>
  <script src="../js/vue.js"></script>
</head>
<body>
  
  <div id="root">
     <!-- (1)会跳过Vue编译过程，可以加在没有Vue语法的标签上可以加快编译
             因为会默认进行Vue编译，此时无法解析n
     -->
     <div v-pre>{{n}}</div>
  </div>

  <script type='text/javascript'>
      new Vue({
          el:'#root',
          data:{
             n:1
          }
      }) 
  </script>
</body>
</html>